package cn.com.hp.feature.domain.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.List;

/**
 * @author hongjuzhu
 * @date 2020/12/4
 */
@Setter
@Getter
@NoArgsConstructor
@ToString
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class PageVO<T> {
    @ApiModelProperty("页数")
    private Long page;
    @ApiModelProperty("每页条数")
    private Long pageSize;
    @ApiModelProperty("查询结果")
    private List<T> list;
    @ApiModelProperty("总条数")
    private Long total;

}
